﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AppStart.Common;

namespace AppStart
{
    class Program
    {
        static void Main(string[] args)
        {
            if(args!=null&&args.Length==2&&(args[0]=="-w"|| args[0] == "-wd"))
            {
                new SelfWatch(args).Run();
                return;
            }

            new AppService().Main(args);
        }
    }
}
